function getProps (route) {
  return route.query;
}
export const projectsAdministration = [
  {
    name: 'ProjectTask',
    path: '/ProjectTask',
    component: resolve => require(['@/views/Projects/ProjectTask.vue'], resolve),
    meta: { title: '任务管理', activeMenu: 'ProjectTask' }
  },
  {
    name: 'Administration',
    path: '/Administration',
    component: resolve => require(['@/views/Projects/Administration.vue'], resolve),
    meta: { title: '项目管理', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectreView',
    path: '/ProjectreView',
    component: resolve => require(['@/views/Projects/ProjectreView.vue'], resolve),
    meta: { title: '项目复盘', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectViewDetail',
    path: '/ProjectViewDetail',
    component: resolve => require(['@/views/Projects/ProjectViewDetail.vue'], resolve),
    meta: { title: '项目复盘详情', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectReviewExamine',
    path: '/ProjectReviewExamine',
    component: resolve => require(['@/views/Projects/ProjectReviewExamine.vue'], resolve),
    meta: { title: '项目复盘审核', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectReviewExamineDetail',
    path: '/ProjectReviewExamineDetail',
    component: resolve => require(['@/views/Projects/ProjectReviewExamineDetail.vue'], resolve),
    meta: { title: '项目复盘审核详情', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectReviewCc',
    path: '/ProjectReviewCc',
    component: resolve => require(['@/views/Projects/ProjectReviewCc.vue'], resolve),
    meta: { title: '项目复盘抄送', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectReviewCcDetail',
    path: '/ProjectReviewCcDetail',
    component: resolve => require(['@/views/Projects/ProjectReviewCcDetail.vue'], resolve),
    meta: { title: '项目复盘抄送详情', activeMenu: 'Administration' }
  },
  {
    name: 'Projectsadd',
    path: '/Projectsadd',
    component: resolve => require(['@/views/Projects/Projectsadd.vue'], resolve),
    meta: { title: '项目立项', activeMenu: 'Administration' }
  },
  {
    name: 'TasksAdd',
    path: '/TasksAdd',
    component: resolve => require(['@/views/Projects/TasksAdd.vue'], resolve),
    meta: { title: '项目立项任务添加', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsExamine',
    path: '/ProjectsExamine',
    component: resolve => require(['@/views/Projects/ProjectsExamine.vue'], resolve),
    meta: { title: '项目立项审核', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsTasksExamine',
    path: '/ProjectsTasksExamine',
    component: resolve => require(['@/views/Projects/ProjectsTasksExamine.vue'], resolve),
    meta: { title: '项目任务审核', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsDetail',
    path: '/ProjectsDetail',
    component: resolve => require(['@/views/Projects/ProjectsDetail.vue'], resolve),
    meta: { title: '项目详情', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectArchive',
    path: '/ProjectArchive',
    component: resolve => require(['@/views/Projects/ProjectArchive.vue'], resolve),
    meta: { title: '项目归档', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsTasksAdd',
    path: '/ProjectsTasksAdd',
    component: resolve => require(['@/views/Projects/ProjectsTasksAdd.vue'], resolve),
    meta: { title: '项目任务添加', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsTasksDetail',
    path: '/ProjectsTasksDetail',
    component: resolve => require(['@/views/Projects/ProjectsTasksDetail.vue'], resolve),
    meta: { title: '项目任务详情', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectsAnalyseAdd',
    path: '/ProjectsAnalyseAdd',
    component: resolve => require(['@/views/Projects/ProjectsAnalyseAdd.vue'], resolve),
    meta: { title: '项目复盘添加', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectArchiveList',
    path: '/ProjectArchiveList',
    component: resolve => require(['@/views/Projects/ProjectArchiveList.vue'], resolve),
    meta: { title: '项目归档', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectArchiveExamine',
    path: '/ProjectArchiveExamine',
    component: resolve => require(['@/views/Projects/ProjectArchiveExamine.vue'], resolve),
    meta: { title: '项目归档审核', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectArchiveCc',
    path: '/ProjectArchiveCc',
    component: resolve => require(['@/views/Projects/ProjectArchiveCc.vue'], resolve),
    meta: { title: '项目归档抄送', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectExamine',
    path: '/ProjectExamine',
    component: resolve => require(['@/views/Projects/ProjectExamine.vue'], resolve),
    meta: { title: '项目审核', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectExamineDetails',
    path: '/ProjectExamineDetails',
    component: resolve => require(['@/views/Projects/ProjectExamineDetails.vue'], resolve),
    meta: { title: '项目审核详情', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectCc',
    path: '/ProjectCc',
    component: resolve => require(['@/views/Projects/ProjectCc.vue'], resolve),
    meta: { title: '项目抄送', activeMenu: 'Administration' }
  },
  {
    name: 'ProjectCcDetail',
    path: '/ProjectCcDetail',
    component: resolve => require(['@/views/Projects/ProjectCcDetail.vue'], resolve),
    meta: { title: '项目抄送详情', activeMenu: 'Administration' }
  },
  {
    name: 'PlanChange',
    path: '/PlanChange',
    component: resolve => require(['@/views/Projects/PlanChange.vue'], resolve),
    meta: { title: '计划变更详情', activeMenu: 'Administration' }
  },
  {
    name: 'Contracts',
    path: '/Contracts',
    component: resolve => require(['@/views/Projects/Contracts.vue'], resolve),
    meta: { title: '合同管理', activeMenu: 'Contracts' }
  },
  {
    name: 'Contractsadd',
    path: '/Contractsadd',
    component: resolve => require(['@/views/Projects/Contractsadd.vue'], resolve),
    meta: { title: '合同添加', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsDetail',
    path: '/ContractsDetail',
    component: resolve => require(['@/views/Projects/ContractsDetail.vue'], resolve),
    meta: { title: '合同详情', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsExamine',
    path: '/ContractsExamine',
    component: resolve => require(['@/views/Projects/ContractsExamine.vue'], resolve),
    meta: { title: '合同审核', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsExamineDetails',
    path: '/ContractsExamineDetails',
    props: getProps,
    component: resolve => require(['@/views/Projects/ContractsExamineDetails.vue'], resolve),
    meta: { title: '合同审核详情', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsCc',
    path: '/ContractsCc',
    component: resolve => require(['@/views/Projects/ContractsCc.vue'], resolve),
    meta: { title: '合同抄送', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsTasksExamine',
    path: '/ContractsTasksExamine',
    component: resolve => require(['@/views/Projects/ContractsTasksExamine.vue'], resolve),
    meta: { title: '合同任务审核', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsTasksAdd',
    path: '/ContractsTasksAdd',
    component: resolve => require(['@/views/Projects/ContractsTasksAdd.vue'], resolve),
    meta: { title: '合同任务添加', activeMenu: 'Contracts' }
  },
  {
    name: 'ContractsTasksDetail',
    path: '/ContractsTasksDetail',
    component: resolve => require(['@/views/Projects/ContractsTasksDetail.vue'], resolve),
    meta: { title: '合同任务详情', activeMenu: 'Contracts' }
  },
  {
    name: 'Securitydeposit',
    path: '/Securitydeposit',
    component: resolve => require(['@/views/Projects/Securitydeposit.vue'], resolve),
    meta: { title: '保证金管理', activeMenu: 'Securitydeposit' }
  }
]
